package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OADrugPurchase</p>
 * <p>Description: 临时用药类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_TEMPDRUGPURCHASE)
public class OATempDrugPurchase extends BaseOADomain implements BaseFlowDomainInf{

	
	
	
	
	////具体事项(父类name)
	
	//填表日期
//		@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//			private Date apply_date;
		
		
	/*
	 * 患者
	 */
	private  Long  patient_id;
	
	private  String  patient_name;
	
	/*
	 * 患者性别
	 */
	
	private String sex;
	
	/*
	 * 患者年龄
	 */
	private  Long  age;
	
	/*
	 * 年龄单位
	 */
	@Column(length=4)
	private String age_unit;
	
	/*
	 * 住院科别
	 */
	private String room_dept;
	
	/*
	 * 诊断
	 */
	
	private String  diagnose;
	
	/*
	 * 药品通用名
	 */
	private String drug_name;
	
	/*
	 * 药品商品名
	 */
	private String recommend;

	/*
	 * 是否基本药物品种;
	 */
		private String base_drug;
	
		/*
		 * 是否招标品种;
		 */
		private String apply_drug;
		
		/*
		 * 是否农合目录品种;
		 */
		private String longhe_drug;
	
		/*
		 * 医保等级
		 */
	   private String medical_insurance ;
		
	  //药品剂型
		private String drug_kind;
		
		//规格
		private String format;
		

		//申请数量
		private Long amount;
		
		/*
		 * 数量单位
		 */
		@Column(length=10)
		private String amount_unit;
		
		//价格
		private Double price;
		
		//生产厂家
		private String producer;
		
		//经销商联系人电话
		private String angency_phone;
		
		//有无同类产品
		private String replacement;
		
		//同类药品名称
		private String replacement_drug;
		
		

	//申请理由（父类 apply_content）
		
	
	//申购人员及科室（父类apply_name apply_deptname）

	//主管科室院领导意见（父类 dept_content）		
		
    //药事科主任意见（父类 biz_content）
		
    //医务科主任意见（父类 audit_content）
	 
	//药剂科主任意见
		private String drug_content;
		
		
		//药剂科审核人签名，id及时间
		private Long drugAudit_id;
		@Column(length=50)
		private String drugAudit_name;
		@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
		private Date drugAudit_time;
	
//业务主管院领导(父类chargeLeader_content）
		
		public Date getApply_date() {
			return apply_date;
		}

		public void setApply_date(Date apply_date) {
			this.apply_date = apply_date;
		}

		public Long getPatient_id() {
			return patient_id;
		}

		public void setPatient_id(Long patient_id) {
			this.patient_id = patient_id;
		}

		public String getPatient_name() {
			return patient_name;
		}

		public void setPatient_name(String patient_name) {
			this.patient_name = patient_name;
		}

		public String getSex() {
			return sex;
		}

		public void setSex(String sex) {
			this.sex = sex;
		}

		public Long getAge() {
			return age;
		}

		public void setAge(Long age) {
			this.age = age;
		}

		public String getRoom_dept() {
			return room_dept;
		}

		public void setRoom_dept(String room_dept) {
			this.room_dept = room_dept;
		}

		public String getDiagnose() {
			return diagnose;
		}

		public void setDiagnose(String diagnose) {
			this.diagnose = diagnose;
		}

		public String getDrug_name() {
			return drug_name;
		}

		public void setDrug_name(String drug_name) {
			this.drug_name = drug_name;
		}

		public String getRecommend() {
			return recommend;
		}

		public void setRecommend(String recommend) {
			this.recommend = recommend;
		}

		public String getBase_drug() {
			return base_drug;
		}

		public void setBase_drug(String base_drug) {
			this.base_drug = base_drug;
		}

		public String getApply_drug() {
			return apply_drug;
		}

		public void setApply_drug(String apply_drug) {
			this.apply_drug = apply_drug;
		}

		public String getLonghe_drug() {
			return longhe_drug;
		}

		public void setLonghe_drug(String longhe_drug) {
			this.longhe_drug = longhe_drug;
		}

		public String getMedical_insurance() {
			return medical_insurance;
		}

		public void setMedical_insurance(String medical_insurance) {
			this.medical_insurance = medical_insurance;
		}

		public String getDrug_kind() {
			return drug_kind;
		}

		public void setDrug_kind(String drug_kind) {
			this.drug_kind = drug_kind;
		}

		public String getFormat() {
			return format;
		}

		public void setFormat(String format) {
			this.format = format;
		}

		public Long getAmount() {
			return amount;
		}

		public void setAmount(Long amount) {
			this.amount = amount;
		}

		public Double getPrice() {
			return price;
		}

		public void setPrice(Double price) {
			this.price = price;
		}

		public String getProducer() {
			return producer;
		}

		public void setProducer(String producer) {
			this.producer = producer;
		}

		public String getAngency_phone() {
			return angency_phone;
		}

		public void setAngency_phone(String angency_phone) {
			this.angency_phone = angency_phone;
		}

		public String getReplacement() {
			return replacement;
		}

		public void setReplacement(String replacement) {
			this.replacement = replacement;
		}

		public String getReplacement_drug() {
			return replacement_drug;
		}

		public void setReplacement_drug(String replacement_drug) {
			this.replacement_drug = replacement_drug;
		}

		

		public String getDrug_content() {
			return drug_content;
		}

		public void setDrug_content(String drug_content) {
			this.drug_content = drug_content;
		}

		public Long getDrugAudit_id() {
			return drugAudit_id;
		}

		public void setDrugAudit_id(Long drugAudit_id) {
			this.drugAudit_id = drugAudit_id;
		}

		public String getDrugAudit_name() {
			return drugAudit_name;
		}

		public void setDrugAudit_name(String drugAudit_name) {
			this.drugAudit_name = drugAudit_name;
		}

		public Date getDrugAudit_time() {
			return drugAudit_time;
		}

		public void setDrugAudit_time(Date drugAudit_time) {
			this.drugAudit_time = drugAudit_time;
		}

		/**
		 * @return the age_unit
		 */
		public String getAge_unit() {
			return age_unit;
		}

		/**
		 * @param age_unit the age_unit to set
		 */
		public void setAge_unit(String age_unit) {
			this.age_unit = age_unit;
		}

		/**
		 * @return the amount_unit
		 */
		public String getAmount_unit() {
			return amount_unit;
		}

		/**
		 * @param amount_unit the amount_unit to set
		 */
		public void setAmount_unit(String amount_unit) {
			this.amount_unit = amount_unit;
		}
		
		
		
}
